﻿using System.Windows;
using System.Windows.Input;
using ViewModel.ViewModels;

namespace MainClient
{
    /// <summary>
    /// LaunchWindow.xaml 的交互逻辑
    /// </summary>
    public partial class LaunchWindow : Window
    {
        public LaunchWindow()
        {
            InitializeComponent();
        }

        private void Window_MouseMove(object sender, MouseEventArgs e)
        {
            if (e.LeftButton == MouseButtonState.Pressed)
            {
                this.DragMove();
            }
        }

        //private void LoginSuccess()
        //{
        //    MainWindow mainWindow = new MainWindow();
        //    mainWindow.Show();
        //    this.Close();
        //}

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }
    }
}